package com.zzyl.service.customer;

import com.zzyl.base.PageResponse;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeCountVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description CustomerReservationService
 * @Author chenchuang
 * @Date 2024-08-29
 */
public interface CustomerReservationService {

    Long cancelledCount();

    void add(ReservationVo reservationVo);

    PageResponse<ReservationVo> getByPage(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);

    List<TimeCountVo> countEachTime(LocalDateTime time,LocalDateTime endTime);
}
